﻿@model myMvcBlog.Models.SidebarView
<div id="about">
    <h2>
        关于我
    </h2>
    <!-- you can edit this -->
    <p>
        我，中文名：冯琦钧， 洋名:Derek, 常用ID:Jun1st， 目前就职于MaryKay China, 担任高级软件工程师<br />
        <br />
        毕业于上海交通大学软件学院，对软件开发有浓厚的兴趣，一直坚信编写程序是一项艺术工作。 目前主要从事Microsoft .Net方面的开发工作, 业余从事iPhone的开发，是苹果产品的爱好者，但还不属于果粉。
        <br />
        <br />
        <strong>CLEAN CODE WORKS</strong><br />
        我的项目:<a href="http://mblog.codeplex.com/" title="mBlog">mBlog</a>
    </p>
    联系我：
    <ul>
        <li>
            <img alt="gmail" src=@Url.Content("~/Content/Images/myGmail.png") /></li>
        <li>
            <img alt="msn" src=@Url.Content("~/Content/Images/myMsn.png") /></li>
    </ul>
    <!-- you can edit this -->
</div>
<div class="contactMe">
    <h2>
        保持联系
    </h2>
    <p>
        <a href="@Url.Action("Index", new { controller = "RSS" })" title="RSS">
            <img src="@Url.Content("~/Content/Images/social-icons/rss-64x64.png")" alt="RSS" /></a>
        <a href="http://twitter.com/jun1st" title="Twitter">
            <img src="@Url.Content("~/Content/Images/social-icons/twitter-64x64.png")" alt="Twitter" /></a>
    </p>
</div>
<div id="twitter">
    <h2>
        我的Twitter
    </h2>
    <ul>
        @foreach (var tweet in Model.Tweets)
        {
            <li>@tweet</li>
        }
    </ul>
</div>
<div class="recent">
    <h2>
        最新随笔</h2>
    <ul>
        @foreach (var post in Model.RecentPosts)
        {
            <li>
                @Html.ActionLink(post.Name, "View", new { controller = "Post", nicename = post.UrlName })
            </li>
        }
    </ul>
</div>
<div class="sideR">
    <ul>
        <li class="archives">
            <h2>
                随笔归档
            </h2>
            <ul>
                @foreach (var archive in Model.MonthlyArchives)
                { 
                    <li>
                        @Html.ActionLink(archive.Year + "/" + archive.Month + "(" + archive.Count + ")", "Index",
                            new { controller = "Archive", Year = archive.Year, month = archive.Month })
                    </li>
                }
            </ul>
        </li>
        <li class="links">
            <h2>
                我的链接</h2>
            <ul>
                <li><a href="http://tzingchu.com" target="_blank">祝庆</a></li>
                <li><a href="http://ayende.com/Blog/default.aspx" target="_blank">Ayende Rahien</a></li>
                <li><a href="http://blog.wekeroad.com/" target="_blank">Rob Conery</a></li>
                <li><a href="http://haacked.com" target="_blank">Phil Haack</a></li>
                <li><a href="http://stackoverflow.com/" target="_blank">Stackoverflow</a></li>
            </ul>
        </li>
    </ul>
</div>
<div class="sideL">
    <ul>
        <li class="categories">
            <h2>
                文章分类</h2>
            <ul>
                @foreach (var cat in Model.Categories)
                {
                    <li class="cat-item">
                        @Html.ActionLink(cat.Name, "View", new { controller = "Category", nicename = cat.UrlName })</li>
                }
            </ul>
        </li>
        <li class="links">
            <h2>
                电子书下载</h2>
            <ul>
                <li><a href='http://www.ppurl.com' target='_blank'>皮皮书屋</a></li>
                <li><a href='http://www.wowebook.com' target='_blank'>Wow! ebooks</a></li>
            </ul>
        </li>
    </ul>
</div>
